/**
 * author: MaHX
 * date: 2019/8/29/18:57
 * description:
 **/
public class ClassLoadTest {
    private static User user = new User();
    static {
        System.err.println("static code block");
    }


    {
        System.err.println("code block");
    }
    private Student student = new Student();
    public ClassLoadTest(){
        System.err.println("Constructor");
    }
    public static void main(String[] args) {
        System.err.println("mian ==>");
        new ClassLoadTest();
    }
}

class Student{
    public Student(){
        System.err.println("student initint===>");
    }
}

class User {
    public User() {
        System.err.println("user initing===>");
    }
}
